projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e41e8c4
)
font chooser: Plug a memory leak
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 5 Jan 2018 03:24:21 +0000
(22:24 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 5 Jan 2018 03:24:21 +0000
(22:24 -0500)
We were leaking the hb_font object.
gtk/gtkfontchooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfontchooserwidget.c
b/gtk/gtkfontchooserwidget.c
index 7b2f232670318e4a1d19e5cac696b830410b3804..6aff6beeaf4d5751e1c3da093565befe2757c843 100644
(file)
--- a/
gtk/gtkfontchooserwidget.c
+++ b/
gtk/gtkfontchooserwidget.c
@@
-2086,7
+2086,7
@@
gtk_font_chooser_widget_update_font_features (GtkFontChooserWidget *fontchooser)
}
}
- hb_f
ace_destroy (hb_face
);
+ hb_f
ont_destroy (hb_font
);
}
pango_fc_font_unlock_face (PANGO_FC_FONT (pango_font));